package com.hxkcloud.nurse.viewholders;

import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.Button;
import android.widget.LinearLayout;
import android.widget.TextView;

import com.hxkcloud.nurse.R;
import com.hxkcloud.nurse.views.CircleImageView;

/**
 * Created by william_sun on 2016-07-09.
 * Description:发现页下的患者记录列表
 */
public class DiscoverPatientViewholder extends RecyclerView.ViewHolder {
    public CircleImageView civ_head;
    public TextView tv_name;
    public TextView tv_sex;
    public TextView tv_age;
    public TextView tv_child;
    public Button bt_manage;
    public LinearLayout ll_nurse;
    public TextView tv_nurse;

    public DiscoverPatientViewholder(View itemView) {
        super(itemView);

        civ_head = (CircleImageView) itemView.findViewById(R.id.civ_discoverpatients_head);
        tv_name = (TextView) itemView.findViewById(R.id.tv_discoverpatients_name);
        tv_sex = (TextView) itemView.findViewById(R.id.tv_discoverpatients_sex);
        tv_age = (TextView) itemView.findViewById(R.id.tv_discoverpatients_age);
        tv_child = (TextView) itemView.findViewById(R.id.tv_discoverpatients_childstatus);
        bt_manage = (Button) itemView.findViewById(R.id.bt_discoverpatients_manage);
        ll_nurse = (LinearLayout) itemView.findViewById(R.id.ll_discoverpatients_nurse);
        tv_nurse = (TextView) itemView.findViewById(R.id.tv_discoverpatients_nurse);
    }
}
